// gmail_wrapper.dart - 非機能のため簡易実装 import 'dart:convert'; class GmailWrapper { static const String apiKey = ''; factory GmailWrapper.fromMap(Map data) { return GmailWrapper(apiKey: (data['api_key'] as String?) ?? ''); } String get apiKey => _apiKey; final String _apiKey; void load(String value) => _apiKey = value; static Future isValid() async => true; static List? parse(List? data) => data; String toMap(Map data) => jsonEncode(data); Map fromMap({ required this._apiKey, }) { _apiKey = _apiKey ?? ''; return Map.from({'key': _apiKey}); } GmailWrapper({this.apiKey}) : _apiKey = apiKey ?? ''; }