facebook function Null safety

Map<String, dynamic> facebook(
  1. String token,
  2. String id,
  3. DateTime expires
)

Implementation

Map<String, dynamic> facebook(String token, String id, DateTime expires) {
  return <String, dynamic>{
    'access_token': token,
    'id': id,
    'expiration_date': expires.toString()
  };
}